<?php /* Smarty version 2.6.18, created on 2012-02-21 23:03:23
         compiled from user/detail.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'user/detail.tpl', 61, false),array('modifier', 'height', 'user/detail.tpl', 111, false),array('function', 'gender', 'user/detail.tpl', 115, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['AppUI']->id <= 0): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/login.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>  
<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div class="rightColumn">
    	<div class="boxContent">
        	<div class="contentItem">
                <div class="contentItems">
                	<?php if ($this->_tpl_vars['intStatuses'] >= 0): ?>
                		<div class="headerTitle">
                        	<h2>
                            	<?php if ($this->_tpl_vars['intStatuses'] == 0): ?>
                            		<a href="<?php echo @HOST_BACKEND; ?>
user/waiting">Thành viên chờ kích hoạt</a>
                                <?php elseif ($this->_tpl_vars['intStatuses'] == 1): ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/index">Thành viên chính thức</a>
                                <?php elseif ($this->_tpl_vars['intStatuses'] == 2): ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/cancelation">Thành viên đang tạm dừng</a>
                                <?php else: ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/suspend">Thành viên bị xóa</a>
                                <?php endif; ?>
                                &raquo; Thông tin chi tiết hồ sơ của thành viên <?php echo $this->_tpl_vars['objUser']->username; ?>

                           	</h2>
                       	</div>
                    <?php endif; ?> 
                    <div class="secData">
                    	<table width="100%" cellpadding="0" cellspacing="0" border="0">
                        	<thead>
                            	<tr>
                                	<th width="20%">Trường dữ liệu</th>
                                    <th>Thông tin</th>
                                </tr>
                            </thead>
                            <tbody>
                            	<tr class="odd">
                                	<td>Mã hexid:</td>
                                    <td><strong><?php echo $this->_tpl_vars['objUser']->hex; ?>
</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Mã tài khoản V-friend:</td>
                                    <td><strong><?php echo $this->_tpl_vars['objUser']->vaccountid; ?>
</strong></td>
                                </tr>
                            	<tr class="odd">
                                	<td>Username:</td>
                                    <td><strong><?php echo $this->_tpl_vars['objUser']->username; ?>
</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Email:</td>
                                    <td><strong><?php echo $this->_tpl_vars['objUser']->email; ?>
</strong></td>
                                </tr>
                                <tr class="odd">
                                	<td>Họ &amp; tên:</td>
                                    <td><strong><?php echo $this->_tpl_vars['objUser']->lastname; ?>
 <?php echo $this->_tpl_vars['objUser']->firstname; ?>
</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Di động:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->mobile): ?><strong><?php echo $this->_tpl_vars['objUser']->mobile; ?>
 (<?php if (( $this->_tpl_vars['objUser']->verified & 1 << 1 ) != 0): ?>Đã chứng thực<?php else: ?>Chưa chứng thực<?php endif; ?>)</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Ngày sinh:</td>
                                    <td><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['objUser']->birthdate)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
 (<?php echo $this->_tpl_vars['objUser']->ages; ?>
 tuổi)</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Tự giới thiệu:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->introduce): ?><strong><?php echo $this->_tpl_vars['objUser']->introduce; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Ngày đăng ký:</td>
                                    <td><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['objUser']->postdate)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Ngày đăng nhập cuối:</td>
                                    <td><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['objUser']->lastlogin)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</strong></td>
                                </tr>
                                <tr class="odd">
                                	<td>Địa chỉ:</td>
                                    <td><strong>
                                    	<?php if ($this->_tpl_vars['objUser']->address): ?><?php echo $this->_tpl_vars['objUser']->address; ?>
,&nbsp;<?php endif; ?>
                                        <?php if ($this->_tpl_vars['objUser']->district_name): ?><?php echo $this->_tpl_vars['objUser']->district_name; ?>
,&nbsp;<?php endif; ?>
                                        <?php if ($this->_tpl_vars['objUser']->province_name): ?><?php echo $this->_tpl_vars['objUser']->province_name; ?>
,&nbsp;<?php endif; ?>
                                        <?php if ($this->_tpl_vars['objUser']->country_name): ?><?php echo $this->_tpl_vars['objUser']->country_name; ?>
<?php endif; ?>
                                    	</strong>
                                   	</td>
                                </tr>
                                <tr class="even">
                                	<td>Tính cách:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->personality): ?><strong><?php echo $this->_tpl_vars['objUser']->personality; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Tôn giáo:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->religion): ?><strong><?php echo $this->_tpl_vars['objUser']->religion_name; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="even">
                                	<td>Nghề nghiệp:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->occupation): ?><strong><?php echo $this->_tpl_vars['objUser']->occupation_name; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Chức vụ:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->position): ?><strong><?php echo $this->_tpl_vars['objUser']->position_name; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="even">
                                	<td>Trình độ học vấn:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->education): ?><strong><?php echo $this->_tpl_vars['objUser']->education_name; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Tình trạng hôn nhân:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->marital): ?><strong><?php echo $this->_tpl_vars['objUser']->marital_name; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="even">
                                	<td>Dáng vóc:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->height > 0): ?><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['objUser']->height)) ? $this->_run_mod_handler('height', true, $_tmp) : smarty_modifier_height($_tmp)); ?>
</strong><?php else: ?>----//---<?php endif; ?> - <?php if ($this->_tpl_vars['objUser']->weight > 0): ?><strong><?php echo $this->_tpl_vars['objUser']->weight; ?>
kg</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Tìm bạn:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->look_gender > 0): ?><strong><?php echo smarty_function_gender(array('option' => $this->_tpl_vars['objUser']->look_gender,'type' => 'Tất cả'), $this);?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="even">
                                	<td>Độ tuổi:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->look_afrom > 0 && $this->_tpl_vars['objUser']->look_ato > 0): ?><strong><?php echo $this->_tpl_vars['objUser']->look_afrom; ?>
 - <?php echo $this->_tpl_vars['objUser']->look_ato; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="odd">
                                	<td>Muốn tìm bạn tại:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->look_province > 0): ?><strong></strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                <tr class="even">
                                	<td>Mẫu người lý tưởng:</td>
                                    <td><?php if ($this->_tpl_vars['objUser']->look_wish): ?><strong><?php echo $this->_tpl_vars['objUser']->look_wish; ?>
</strong><?php else: ?>----//----<?php endif; ?></td>
                                </tr>
                                
                            </tbody>
                        </table>
                    </div>
                </div>
          	</div>
        </div>
    </div>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                